oracle.pgx.api.filter

## Class VertexFilter

- java.lang.Object
- - oracle.pgx.api.filter.GraphFilter
  - - oracle.pgx.api.filter.GraphFilterWithExpression
    - - oracle.pgx.api.filter.VertexFilter

-     public class VertexFilter
      extends GraphFilterWithExpression

  A class that wraps a filter expression supposed to be evaluated on each vertex of the graph

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VertexFilter(String filterExpression)` Instantiates a new vertex filter.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `VertexFilter` | `asVertexFilter()` Gets this filter object as vertex filter, if possible.
    `String` | `toString()`

    - ### Methods inherited from class oracle.pgx.api.filter.GraphFilterWithExpression

      `asGraphFilterWithExpression, fromTypeAndExpression, getFilterExpression, hasExpression`

    - ### Methods inherited from class oracle.pgx.api.filter.GraphFilter

      `asBinaryGraphFilterOperation, asEdgeFilter, getType, intersect, isBinaryOperation, union`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### VertexFilter

          public VertexFilter(String filterExpression)

      Instantiates a new vertex filter.
      Parameters:
        `filterExpression` - the vertex-filter expression

  - ### Method Detail

    - #### asVertexFilter

          public VertexFilter asVertexFilter()

      Description copied from class: `GraphFilter`
      Gets this filter object as vertex filter, if possible. Save to call if `GraphFilter.getType()` == FilterType.VERTEX
      Overrides:
        `asVertexFilter` in class `GraphFilter`
      Returns:
        the vertex filter

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015. All rights reserved.